//
//  PlayerView.h
//  Exam10-2
//
//  Created by 孙晓晔 on 2017/4/11.
//  Copyright © 2017年 孙晓晔. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface PlayerView : UIView
@property(nonatomic,strong) AVPlayer *player;
@property(nonatomic,strong) AVPlayerLayer *playLayer;

-(void)playerWithURL:(NSURL*)URL;
-(void)resetFrame:(CGSize)size;
@end
